package com.zbkj.crmeb.store.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zbkj.crmeb.store.model.StoreOrderInfo;
import com.zbkj.crmeb.store.model.StoreProductGroupActivity;
import com.zbkj.crmeb.store.request.StoreOrderSearchRequest;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface StoreProductGroupActivityDao extends BaseMapper<StoreProductGroupActivity> {

    List<StoreProductGroupActivity> getActivityId(@Param("ids") List<Integer> ids,@Param("productIdList") List<Integer> productIdList);

    Boolean updateEndTimeNow(StoreOrderSearchRequest searchRequest);

    Boolean updateEndTimeNull(StoreOrderSearchRequest searchRequest);

}
